package util;

public enum ResponseCodeEnum {
    SUCCESS(0, "成功"),
    EMPTY(1, "空"),
    PARAM_ERROR(100000, "参数错误"),
    SERVER_ERROR(100001, "系统异常");

    private int code;
    private String msg;
    ResponseCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
